package Logica.Core.Producto;

import Logica.Core.Depositos.Lote;
import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Entity;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author Luciano
 */
@Entity
public class YerbaCanchada extends Producto implements Serializable {

    @Basic(optional = false)
    private double porcentPalo;
    @Basic(optional = false)
    private double porcentPolvo;

    public YerbaCanchada() {
    }

    public YerbaCanchada(double porcentPalo, double porcentPolvo, int id, double peso, Lote miLote) {
        super(id, peso, miLote);
        this.porcentPalo = porcentPalo;
        this.porcentPolvo = porcentPolvo;
    }

    public double getPorcentPalo() {
        return porcentPalo;
    }

    public void setPorcentPalo(double porcentPalo) {
        this.porcentPalo = porcentPalo;
    }

    public double getPorcentPolvo() {
        return porcentPolvo;
    }

    public void setPorcentPolvo(double porcentPolvo) {
        this.porcentPolvo = porcentPolvo;
    }
}
